import request from '@/utils/request'

// 查询人员签到列表
export function listExaminerscene(query) {
  return request({
    url: '/grant/examinerscene/list',
    method: 'get',
    params: query
  })
}
// 查询人员签到详细
export function getExaminerscene(id) {
  return request({
    url: '/grant/examinerscene/' + id,
    method: 'get'
  })
}

// 新增人员签到
export function addExaminerscene(data) {
  return request({
    url: '/grant/examinerscene',
    method: 'post',
    data: data
  })
}

// 修改人员签到
export function updateExaminerscene(data) {
  return request({
    url: '/grant/examinerscene',
    method: 'put',
    data: data
  })
}

// 修改人员签到状态
export function updateExaminerSceneStatus(data) {
  return request({
    url: '/grant/examinerscene/updateExaminerSceneStatus',
    method: 'post',
    data: data
  })
}
// 删除人员签到
export function delExaminerscene(id) {
  return request({
    url: '/grant/examinerscene/' + id,
    method: 'delete'
  })
}

// 导出人员签到
export function exportExaminerscene(query) {
  return request({
    url: '/grant/examinerscene/export',
    method: 'get',
    params: query
  })
}
export function downTemplate() {
  return request({
    url: '/grant/examinerscene/expTemplate',
    method: 'get',
    params: {}
  })
}

export function countExaminerPrice(data){
  return request({
    url: '/grant/examinerscene/countExaminerPrice',
    method: 'post',
    params: data
  })
}
